from django.urls import path, include
from rest_framework.routers import SimpleRouter
from .views import OrderView, SuccessViewSet

router = SimpleRouter()
router.register('pay', OrderView, 'pay')
# router.register('success', SuccessViewSet, 'success')
urlpatterns = [
    path('', include(router.urls)),
    path('success/', SuccessViewSet.as_view()),

]
